Release 10.1A: OpenEdge Data Management:
SQL Reference


RTRIM

Removes all the trailing characters in char_expression that are present in char_set and returns the resultant string. The last character in the result is guaranteed not to be in char_set. If you do not specify a char_set, trailing blanks are removed.

Syntax

RTRIM ( char_expression [ , char_set ] ) 

Example

This example illustrates the RTRIM function:

SELECT RPAD ( RTRIM (addr, ' '), 30, '.')  
     FROM customer ; 

Notes

Compatibility

ODBC compatible


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095